package com.handpay.zztong.hp.login.model.login;

import android.os.Parcel;

import com.handpay.zztong.hp.bean.ResponseBean;

/**
 * Created by lyang on 2017/2/20.
 */

public class AccountLoginBean extends ResponseBean{


    /**
     * account : E711B3843703077C
     * merchantCode : FASTBILL@wjr123
     * phone : 6340A2E5BA32B1520B49E6B425B0F9F8
     * responseCode : 0
     * sessionID : 19886575|0CBF84629B3449D2BDAEED7B1468C333
     * shopName : 84ED0E93C6C9112D41DA8FD630D75633
     * status : 02
     * userID : 1E65F7C43C12B94983BA2FA9D39BE5DE
     */

    private String account;
    private String merchantCode;
    private String phone;
    private String responseCode;
    private String sessionID;
    private String shopName;
    private String status;
    private String userID;

    private String failDescription;
    private String passwdStatus;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public String getSessionID() {
        return sessionID;
    }

    public void setSessionID(String sessionID) {
        this.sessionID = sessionID;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getFailDescription() {
        return failDescription;
    }

    public void setFailDescription(String failDescription) {
        this.failDescription = failDescription;
    }

    public String getPasswdStatus() {
        return passwdStatus;
    }

    public void setPasswdStatus(String passwdStatus) {
        this.passwdStatus = passwdStatus;
    }

    @Override
    public String toString() {
        return "AccountLoginBean{" +
                "account='" + account + '\'' +
                ", merchantCode='" + merchantCode + '\'' +
                ", phone='" + phone + '\'' +
                ", responseCode='" + responseCode + '\'' +
                ", sessionID='" + sessionID + '\'' +
                ", shopName='" + shopName + '\'' +
                ", status='" + status + '\'' +
                ", userID='" + userID + '\'' +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.account);
        dest.writeString(this.merchantCode);
        dest.writeString(this.phone);
        dest.writeString(this.responseCode);
        dest.writeString(this.sessionID);
        dest.writeString(this.shopName);
        dest.writeString(this.status);
        dest.writeString(this.userID);
        dest.writeString(this.failDescription);
        dest.writeString(this.passwdStatus);
    }

    public AccountLoginBean() {
    }

    protected AccountLoginBean(Parcel in) {
        super(in);
        this.account = in.readString();
        this.merchantCode = in.readString();
        this.phone = in.readString();
        this.responseCode = in.readString();
        this.sessionID = in.readString();
        this.shopName = in.readString();
        this.status = in.readString();
        this.userID = in.readString();
        this.failDescription = in.readString();
        this.passwdStatus = in.readString();
    }

    public static final Creator<AccountLoginBean> CREATOR = new Creator<AccountLoginBean>() {
        @Override
        public AccountLoginBean createFromParcel(Parcel source) {
            return new AccountLoginBean(source);
        }

        @Override
        public AccountLoginBean[] newArray(int size) {
            return new AccountLoginBean[size];
        }
    };
}
